<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class AssetIndex extends Model
{
    protected $fillable = ['key', 'repository_id'];
    public function repository()
    {
        return $this->belongsTo('App\Repository', 'repository_id', 'id');
    }
}
